using System;
using FireStarter.Base;
using FireStarterModeller.BO;

namespace FireStarter.CodeGeneration.Generator
{
    public class IncludeExpression : TemplateExpression
    {
        public IncludeExpression(TemplateExpression part, TemplateExpression next ) { Part = part;
            Next = next;}
        public TemplateExpression Part { get; private set; }
        protected override string GenerateOne(IModelStrategyMapper mapper, IModelElement modelElement)
        {
            return Part.Generate(mapper, modelElement);
        }
    }
}